package cn.iocoder.yudao.module.system.controller.admin.erp.customerinformation.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 客户信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CustomerInformationRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19818")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "客户名称", example = "赵六")
    @ExcelProperty("客户名称")
    private String nickname;

    @Schema(description = "押金")
    @ExcelProperty("押金")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal deposit;

    @Schema(description = "尾款")
    @ExcelProperty("尾款")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal balancePayment;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remake;

    @Schema(description = "客户id", example = "12974")
    @ExcelProperty("客户id")
    private Long customerId;

}